package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库对象 exam_bank
 * 
 * @author ruoyi
 * @date 2023-07-30
 */
public class ExamBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题库id */
    private Long id;

    /** 所属科目 */
    @Excel(name = "所属科目")
    private Long subjectId;

    /** 标题描述 */
    @Excel(name = "标题描述")
    private String title;

    /** A选项描述 */
    @Excel(name = "A选项描述")
    private String optionA;

    /** B选项描述 */
    @Excel(name = "B选项描述")
    private String optionB;

    /** C选项描述 */
    @Excel(name = "C选项描述")
    private String optionC;

    /** D选项描述 */
    @Excel(name = "D选项描述")
    private String optionD;

    /** E选项描述 */
    @Excel(name = "E选项描述")
    private String optionE;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    /** 答案解析 */
    @Excel(name = "答案解析")
    private String analysis;

    /** 分值 */
    @Excel(name = "分值")
    private String score;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setOptionA(String optionA) 
    {
        this.optionA = optionA;
    }

    public String getOptionA() 
    {
        return optionA;
    }
    public void setOptionB(String optionB) 
    {
        this.optionB = optionB;
    }

    public String getOptionB() 
    {
        return optionB;
    }
    public void setOptionC(String optionC) 
    {
        this.optionC = optionC;
    }

    public String getOptionC() 
    {
        return optionC;
    }
    public void setOptionD(String optionD) 
    {
        this.optionD = optionD;
    }

    public String getOptionD() 
    {
        return optionD;
    }
    public void setOptionE(String optionE) 
    {
        this.optionE = optionE;
    }

    public String getOptionE() 
    {
        return optionE;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setAnalysis(String analysis) 
    {
        this.analysis = analysis;
    }

    public String getAnalysis() 
    {
        return analysis;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectId", getSubjectId())
            .append("title", getTitle())
            .append("optionA", getOptionA())
            .append("optionB", getOptionB())
            .append("optionC", getOptionC())
            .append("optionD", getOptionD())
            .append("optionE", getOptionE())
            .append("answer", getAnswer())
            .append("analysis", getAnalysis())
            .append("score", getScore())
            .toString();
    }

    private String subjectName;

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }
}
